package com.xpsoft.oa.model.project;

import java.util.HashSet;
import java.util.Set;

import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.FileAttach;

/**
 * ProjectExpensesInfo Base Java Bean, base class for the.oa.model, mapped
 * directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten.
 * 
 * TODO: add class/table comments
 */
public class ProjectExpensesInfo extends com.xpsoft.core.model.BaseModel {

	@Expose
	protected Long id;
	@Expose
	protected ProjectExpenses projectExpenses;
	@Expose
	protected String purpose;
	@Expose
	protected java.math.BigDecimal amount;
	@Expose
	protected java.math.BigDecimal billAmount;
	@Expose
	protected Integer billAttachNum;
	protected String fileIds;
	@Expose
	protected Set<FileAttach> fileAttachs = new HashSet<FileAttach>();

	/**
	 * Default Empty Constructor for class ProjectExpensesInfo
	 */
	public ProjectExpensesInfo() {
		super();
	}

	/**
	 * Default Key Fields Constructor for class ProjectExpensesInfo
	 */
	public ProjectExpensesInfo(Long in_id) {
		this.setId(in_id);
	}

	/**
	 * * @return Long
	 * 
	 * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}

	/**
	 * Set the id
	 */
	public void setId(Long aValue) {
		this.id = aValue;
	}

	public Set<FileAttach> getFileAttachs() {
		return fileAttachs;
	}

	public java.math.BigDecimal getBillAmount() {
		return billAmount;
	}

	public void setBillAmount(java.math.BigDecimal billAmount) {
		this.billAmount = billAmount;
	}

	public void setFileAttachs(Set<FileAttach> fileAttachs) {
		this.fileAttachs = fileAttachs;
	}


	public String getFileIds() {
		return fileIds;
	}

	public void setFileIds(String fileIds) {
		this.fileIds = fileIds;
	}

	public ProjectExpenses getProjectExpenses() {
		return projectExpenses;
	}

	public void setProjectExpenses(ProjectExpenses projectExpenses) {
		this.projectExpenses = projectExpenses;
	}

	/**
	 * 用途 * @return String
	 * 
	 * @hibernate.property column="purpose" type="java.lang.String" length="128"
	 *                     not-null="false" unique="false"
	 */
	public String getPurpose() {
		return this.purpose;
	}

	/**
	 * Set the purpose
	 */
	public void setPurpose(String aValue) {
		this.purpose = aValue;
	}

	/**
	 * 金额（元） * @return java.math.BigDecimal
	 * 
	 * @hibernate.property column="amount" type="java.math.BigDecimal"
	 *                     length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getAmount() {
		return this.amount;
	}

	/**
	 * Set the amount
	 */
	public void setAmount(java.math.BigDecimal aValue) {
		this.amount = aValue;
	}

	public Integer getBillAttachNum() {
		return billAttachNum;
	}

	public void setBillAttachNum(Integer billAttachNum) {
		this.billAttachNum = billAttachNum;
	}


}
